package com.chenglu.android.mine.coupon.mvp.model;



import com.chenglu.android.common.net.RetrofitClient;
import com.chenglu.android.common.net.RetrofitClientCL;
import com.chenglu.android.mine.bean.CouponBean;
import com.chenglu.android.mine.coupon.mvp.contract.CouponContract;
import com.chenglu.android.payment.bean.CouponListBean;


import java.util.Map;

import io.reactivex.rxjava3.core.Observable;

/**
 * @author: lyj
 * @Created by Copyright 2023/3/2 Guangzhou Hongma Technology Co., Ltd. All rights reserved.
 *
 */
public class CouponModel implements CouponContract.CouponModel {


    @Override
    public Observable<CouponBean> getCouponList(String token, Map<String,String> map) {
        return RetrofitClientCL.getInstance().getApi().getCouponUserList(token,map);
    }
}
